package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * 支付盒子-数据类型
 * @author chenqiwen
 * @CreateDate: 2021-05-05-19-03
 * @Description:
 */
@Getter
public enum ProductFuncDataTypeEnum {
    BOOLEAN_TYPE(1, "布尔型"),
    INTEGER_TYPE(2, "整数型"),
    FLOAT_TYPE(3, "浮点型"),
    ENUM_TYPE(4, "枚举型"),
    STR(5, "字符串"),
    ;

    private Integer code;
    private String desc;

    ProductFuncDataTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
